package com.xmg.server.order.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.xmg.server.order.mapper.OrderActionMapper;
import com.xmg.shop.api.order.domain.OrderAction;
import com.xmg.shop.api.order.service.IOrderActionService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * Created by Administrator on 2017/11/19.
 */
@Service
public class OrderActionServiceImpl implements IOrderActionService {
    @Autowired
    private OrderActionMapper orderActionMapper;
    @Override
    public OrderAction selectByPrimaryKey(Long id) {
        return orderActionMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<OrderAction> selectAll() {
        return orderActionMapper.selectAll();
    }
}
